package com.zlj.accountant.db.entity;

import com.j256.ormlite.field.DatabaseField;

public abstract class TAccount extends TAbstractTable{
	
	public static final String Field_Name = "name";
	
	public static final String Field_Income = "income";
	
	public static final String Field_Outgo = "outgo";
	
	public static final String Field_Person = "person";
	
	public static final String Field_Code = "code";
	
	public static final String Field_ShortNumber = "shortNumber";
	@DatabaseField(columnName=Field_Code)
	private String code;
	@DatabaseField(columnName=Field_ShortNumber)
	private String shortNumber;
	
	
	@DatabaseField(columnName=Field_Name)
	private String name;
	
	@DatabaseField(columnName=Field_Income)
	private double income;
	
	@DatabaseField(columnName=Field_Outgo)
	private double outgo;
	
	@DatabaseField(columnName=Field_Person)
	private String person;

	
	
	public String getCode(){
    	return code;
    }

	public void setCode(String code){
    	this.code = code;
    }

	public String getShortNumber(){
    	return shortNumber;
    }

	public void setShortNumber(String shortNumber){
    	this.shortNumber = shortNumber;
    }

	public String getPerson(){
    	return person;
    }

	public void setPerson(String person){
    	this.person = person;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getIncome() {
		return income;
	}

	public void setIncome(double income) {
		this.income = income;
	}

	public double getOutgo() {
		return outgo;
	}

	public void setOutgo(double outgo) {
		this.outgo = outgo;
	}
	
	
}
